<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>登录</title>
    <meta charset="utf-8" />
</head>
<body>


<h1>登录 get</h1>

<form action="/AServlet" id="login1" method="get">

    <p>用户名：<input type="text" name="username" /></p>

    <p>密&nbsp;&nbsp;&nbsp;码：<input type="password" name="password"/></p>

    <p><button type="submit">提交</button></p>

</form>


<h1>登录 post</h1>

<form action="/AServlet" id="login2" method="post">

    <p>用户名：<input type="text" name="username" /></p>

    <p>密&nbsp;&nbsp;&nbsp;码：<input type="password" name="password"/></p>

    <p><button type="submit">提交</button></p>

</form>


</body>
</html>
